home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / demos / VisualAge for Java 2.0 Entry / setup / data1.cab / ide-e / IDE / cache / 1ODLSRP (.txt) < prev    next >
Encoding:
Java Class File  |  1998-09-16  |  944 b   |  23 lines

  1. package com.sun.java.swing.text;
  2.  
  3. import com.sun.java.swing.AbstractAction;
  4. import java.awt.event.ActionEvent;
  5.  
  6. class JTextComponent$FocusAction extends AbstractAction {
  7.    // $FF: synthetic field
  8.    JTextComponent this$0;
  9.  
  10.    public void actionPerformed(ActionEvent e) {
  11.       this.this$0.requestFocus();
  12.    }
  13.  
  14.    public boolean isEnabled() {
  15.       return this.this$0.isEditable();
  16.    }
  17.  
  18.    // $FF: synthetic method
  19.    JTextComponent$FocusAction(JTextComponent this$0) {
  20.       this.this$0 = this$0;
  21.    }
  22. }
  23.